package cloudjunit;

public class JunitWorkFlowState {
	public static final String INITIAL = "INITIAL";
	public static final String ANALYZING = "ANALYZING";
	public static final String RUNNING = "RUNNING";
	public static final String DONE = "DONE";
	public static final String ERROR = "ERROR";
	
	private String current_state;
	
	public JunitWorkFlowState(String state)
	{
		assert( (state==INITIAL) ||
				(state==ANALYZING) ||
				(state==RUNNING) ||
				(state==DONE) ||
				(state==ERROR) );
		current_state = state;
	}
	
	
	public String get_state() {return current_state;}
}
